﻿using System;

namespace W2R.Core.DataAccess.Support
{
    /// <summary>
    /// Identifier Generator for Guids
    /// </summary>
    public class GuidIdentifierGenerator : IIdentifierGenerator<Guid>
    {
        /// <summary>
        /// Creates a new Guid for identifier
        /// </summary>
        /// <returns></returns>
        public Guid GenerateNewIdentifier()
        {
            return Guid.NewGuid();
        }
    }
}
